package xyz.chenyongpeng.orderproviderdubbo.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.beans.factory.annotation.Autowired;
import xyz.chenyongpeng.entity.ZsOrderGoods;
import xyz.chenyongpeng.orderproviderdubbo.mapper.ZsOrderGoodsMapper;
import xyz.chenyongpeng.service.IZsOrderGoodsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.Map;

/**
 * <p>
 * 订单下的产品信息表 服务实现类
 * </p>
 *
 * @author chenyongpeng
 * @since 2018-12-10
 */
public class ZsOrderGoodsService extends ServiceImpl<ZsOrderGoodsMapper, ZsOrderGoods> implements IZsOrderGoodsService {

    @Autowired
    private ZsOrderGoodsMapper zsOrderGoodsMapper;

    @Override
    public void getGoodsInfo(Map<String, Object> parms) {
        ZsOrderGoods orders = zsOrderGoodsMapper.selectOne(new QueryWrapper<ZsOrderGoods>().eq("o_id", parms.get("o_id")));
        String r_id = "";

        if (orders != null){
            
        }
    }
}
